/**
 * 
 */
package com.chh.mysso.domain.exception;

import com.chh.mysso.common.enums.ErrorCodeEnum;
import com.chh.mysso.common.exception.BaseException;

/**
 * @author chh
 *
 */
@SuppressWarnings("serial")
public class SSOException extends BaseException {

	public SSOException(ErrorCodeEnum errorCode) {
		super(errorCode.getCode(), errorCode.getDesc());
	}
	
	public SSOException(ErrorCodeEnum errorCode, String message) {
		super(errorCode.getCode(), message);
	}
}
